package com.xu.service;

import com.xu.pojo.Carousel;
import com.xu.pojo.UserAddress;
import com.xu.pojo.bo.AddressBO;

import java.util.List;

/**
 * @author anan
 * @create 2022-01-17 17:15
 */
public interface AddressService {
    public List<UserAddress> queryAll(String userId);

    public void addNewUserAddress(AddressBO addressBO);

    public void updateUserAddress(AddressBO addressBO);

    public void deleteUserAddress(String userId, String addressId);

    public void updateUserAddressToBeDefault(String userId, String addressId);

    public UserAddress queryUserAddress(String userId, String addressId);
}
